{// 引入标签库 }
<tagLib name="fanwe" />
<include file="Public:header" />
<load href="__TMPL__ThemeFiles/Js/jquery.js" />
<load href="__TMPL__ThemeFiles/Js/jquery.json.js" />
<script src="http://ditu.google.cn/maps?file=api&v=2&key={:fanweC('GOOGLE_MAP_API_KEY')}&sensor=true"
        type="text/javascript">
</script>
<div id="main" class="main" >
<div class="content">
<div class="title">{$Think.lang.ADD_DATA}[ <a href="{:u($module_name.'/index')}">{$Think.lang.BACK_LIST}</a> ]</div>
<div id="result" class="result none"></div>
<form method='post' id="form" name="form" action="{:u('CouponRegion/insert')}"  enctype="multipart/form-data">
<table cellpadding=0 cellspacing=0 class="dataEdit" >
<tr>
	<td class="tRight" width="180">商圈名称：</td>
	<td class="tLeft" >
		<input type="text" name="name" class="bLeft"  />
	</td>
</tr>
<tr>
	<td class="tRight">所属城市：</td>
	<td class="tLeft" >
		<select name="city_id">
			<foreach name="group_city" item="city">
				<option value="{$city.id}">{$city.name}</option>
			</foreach>
		</select>
	</td>
</tr>
<tr>
	<td class="tRight">商圈地址坐标查询地址：</td>
	<td class="tLeft" >
		<input type="text" name="api_address" class="bLeft" id="api_address" /> <input type="button" value="开始定位" onclick="loadGeoInfo();" />
	</td>
</tr>
<tr>
	<td class="tRight">经纬度：</td>
	<td class="tLeft" >
		经度：<input type="text" name="xpoint" id="xpoint" class="bLeft" />
		纬度：<input type="text" name="ypoint" id="ypoint" class="bLeft" />
	</td>
</tr>
<tr>
	<td class="tRight">地图放大倍数：</td>
	<td class="tLeft" >
		<input type="text" name="zoom"  class="bLeft" /> 1-14, 值越大表示放大的越大
	</td>
</tr>
<tr>
	<td class="tRight" >排序：</td>
	<td class="tLeft" >
		<input type="text" name="sort" class="bLeft" value="{$new_sort}"  />
	</td>
</tr>


<tr>
	<td>&nbsp;</td>
	<td class="center"><div style="width:85%;margin:5px">
	<input type="submit" value="{$Think.lang.SAVE_DATA}"  class="button small"> <input type="reset" class="button small" onclick="resetEditor()" value="{$Think.lang.RESET_DATA}" > 
	</div></td>
</tr>

</table>
</form>
</div>
</div>
